package com.lab.webSocket.service;


import com.lab.webSocket.dto.UserDto;
import com.lab.webSocket.dto.UserInfoDto;

import java.util.List;

/**
 * Created by xu_jiaHui on 2017/9/7.
 */
public interface AddUserService {

    public Integer addFriendByUserAccount(String friendAccount, String userAccount) throws Exception;

    public List<UserInfoDto> findFriendsByInfo(String info) throws Exception;

    public Integer updateUserInfo(UserDto userDto) throws Exception;

    public UserDto getUserInfo(String userAccount) throws Exception;
}
